import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import isDemo from '../Demo/isDemo'
import Echarts from '../DemoPages/EchartDemo/Echarts'
import TreeSelect from '@/DemoPages/TreeDemo/TreeSelect'
import TwoVfor from '@/DemoPages/TwoVfor'
import DimensionChoose from '@/DemoPages/DimensionChoose'

Vue.use(Router)

export default new Router({
  routes: [{
      path: '/isDemo',
      name: 'isDemo',
      component: isDemo
    },
    {
      path: '/Echarts',
      name: 'Echarts',
      component: Echarts
    },
    {
      path: '/TreeSelect',
      name: 'TreeSelect',
      component: TreeSelect
    },
    {
      path: '/TwoVfor',
      name: 'TwoVfor',
      component: TwoVfor
    },
    {
      path: '/DimensionChoose',
      name: 'DimensionChoose',
      component: DimensionChoose
    }
  ]
})
